﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="organization_unit_org.aspx.cs" Inherits="EDP.Application.Web.Organization.organization_unit_org" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager" AutoSizePanelID="form_content" runat="server" />
        <f:SimpleForm ID="form_content" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="10"
            AutoScroll="false" Margin="0" LabelAlign="Right" LabelWidth="60" ValidateRequestMode="Enabled" Layout="Column">
            <Items>
                <f:TextBox ID="tb_name" runat="server" Label="机构名称" BindName="Name" Margin="0" ColumnWidth="50%" ShowRedStar="true" />
                <f:TextBox ID="tb_numbers" runat="server" Label="机构编号" BindName="Numbers" Margin="0 0 0 10" ColumnWidth="50%" ShowRedStar="true" EmptyText="2-20位字母,数字,下划线,横线" />
                <f:TextBox ID="tb_shortName" runat="server" Label="机构简称" BindName="ShortName" Margin="10 0 0 0" ColumnWidth="50%" />
                <f:TextBox ID="tb_englishName" runat="server" Label="英文名称" BindName="EnglishName" Margin="10 0 0 10" ColumnWidth="50%" />
                <f:DropDownList ID="ddl_parent" runat="server" Label="上级机构" BindName="ParentId" EnableSimulateTree="true" Margin="10 0 0 0" ColumnWidth="100%" />
                <f:TextBox ID="tb_Phone" runat="server" Label="联系电话" BindName="Phone" Margin="10 0 0 0" ColumnWidth="50%" />
                <f:TextBox ID="tb_Contacter" runat="server" Label="联系人" BindName="Contacter" Margin="10 0 0 10" ColumnWidth="50%" />
                <f:DropDownList ID="ddl_province" runat="server" Label="所在地" BindName="ProvinceId" Margin="10 0 0 0" ColumnWidth="28%" AutoPostBack="true" OnSelectedIndexChanged="ddl_province_SelectedIndexChanged" />
                <f:DropDownList ID="ddl_city" runat="server" BindName="CityId" Margin="10 0 0 5" ColumnWidth="20%" AutoPostBack="true" OnSelectedIndexChanged="ddl_city_SelectedIndexChanged" />
                <f:DropDownList ID="ddl_area" runat="server" BindName="AreaId" Margin="10 0 0 5" ColumnWidth="20%"  AutoPostBack="true" OnSelectedIndexChanged="ddl_area_SelectedIndexChanged" />
                <f:DropDownList ID="ddl_street" runat="server" BindName="StreetId" Margin="10 0 0 5" ColumnWidth="32%" />
                <f:TextBox ID="tb_address" runat="server" Label="详细地址" BindName="Address" Margin="10 0 0 0" ColumnWidth="60%" />
                <f:TriggerBox ID="trb_point" runat="server" Label="经纬度" BindName="Point" Margin="10 0 0 0" ColumnWidth="40%" EnableEdit="true" TriggerIcon="Search" AutoPostBack="false" OnTriggerClick="trb_point_TriggerClick" />
                <f:TextBox ID="tb_createUser" runat="server" Label="创建人" BindName="CreateUserName" Margin="10 0 0 0" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_craeteTime" runat="server" Label="创建时间" BindName="CreateTimeDisplay" Margin="10 0 0 10" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_modifyUser" runat="server" Label="修改人" BindName="ModifyUserName" Margin="10 0 0 0" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_modifyTime" runat="server" Label="修改时间" BindName="ModifyTimeDisplay" Margin="10 0 0 10" ColumnWidth="50%" Readonly="true" />
                <f:TextArea ID="tb_remark" runat="server" Label="描述" BindName="Remarks" Margin="10 0 0 0" ColumnWidth="100%" Height="230" />
            </Items>
            <Toolbars>
                <f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        <f:Button ID="btn_save" runat="server" Text=" 保 存 " Icon="Disk" Margin="0 10 0 0" ValidateForms="form_content" OnClick="btn_save_Click" />
                        <f:Button ID="btn_close" runat="server" Text=" 关 闭 " Icon="Cross" Margin="0 10 0 0" EnablePostBack="false" EnablePermission="false" />
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:SimpleForm>
        <f:Window ID="win_map" runat="server" Target="Parent" Width="600" Height="600" />
    </form>
</body>
</html>
